﻿using Microsoft.Office.Interop.Excel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CardMonitor.Utils
{
    public class ExcelPrintHelper
    {
        private void excelToImage(string filename)
        {
            try
            {
                Workbook workbook = new Workbook();
                //workbook..LoadFromFile(filename);
                Worksheet sheet = workbook.Worksheets[0];
                //sheet.SaveToImage(Settings.path_printImage); //图片后缀.bmp ,imagepath自己设置
            }
            catch (Exception ex)
            {
            }
        }
    }
}
